Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODStorageUnit


CountValues

The CountValues method returns the number of values in the current focus context for this storage unit.

ODULong CountValues ();
return value
The number of values in this storage unit, expressed as an unsigned 32-bit value.
DISCUSSION
This storage unit must be focused on a property or a value, not the entire storage unit.

EXCEPTIONS
kODErrUnfocusedStorageUnit
This storage unit is not focused on a property or a value.
kODErrZeroRefCount
This storage unit has a reference count of 0.
SEE ALSO
The ODStorageUnit::CountProperties method (page 674).
Listing 2-42 on page 101 in OpenDoc Cookbook.
"Iterating Through a Storage Unit" on page 277 in OpenDoc Programmer's Guide.


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help